import api from '../api.js'
export default {
  GetParkRedlistRuleData (params) {
    return api.fetchGet('/park/park_redlist/getRules.do', params);
  },
  AddParkRedlistRuleData (params){
    return api.fetchPost('/park/park_redlist/add.do', params);
  },
  DelParkRedlistRuleData (params){
    return api.fetchPost('/park/park_redlist/del.do', params);
  },
  SyncParkRedlistRuleData (params){
    return api.fetchPost('/park/park_redlist/sync.do', params);
  },
  ResyncParkRedlistRuleData (params){
    return api.fetchPost('/park/park_redlist/resync.do', params);
  },
  GetSyncDetailData (params){
    return api.fetchGet('/park/park_redlist/getSyncDetail.do', params);
  }
}